package com.aye.formatconversion.entity;

import lombok.Data;
import java.util.ArrayList;
import java.util.List;

@Data
public class DirectoryNode {
    private String name;
    private String path;
    private boolean isLeaf;
    private List<DirectoryNode> children = new ArrayList<>();

    public DirectoryNode(String name, String path, boolean isLeaf) {
        this.name = name;
        this.path = path;
        this.isLeaf = isLeaf;
    }
}
